package com.pearadmin.pro.modules.stu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.stu.domain.StuOrderRefund;

import com.pearadmin.pro.modules.stu.param.StuOrderRefundRequest;

/**
 * 订单退款Service接口
 * @author chenJian
 * @date 2021-09-09
 */
public interface StuOrderRefundService extends IService<StuOrderRefund>
{

    boolean  addRefundOrder(StuOrderRefund stuOrderRefund);
    /**
    * 获取查询订单退款列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link StuOrderRefund}
    * */
    PageResponse< StuOrderRefund> page(StuOrderRefundRequest request);


    /**
     * 查询订单退款
     *
     * @param id 订单退款ID
     * @return 订单退款
     */
     StuOrderRefund selectStuOrderRefundById(Long id);

}
